package com.zuxia.po;

import java.util.HashSet;
import java.util.Set;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * 员工信息表
 * @author 谌华勇
 *
 * 2018年11月14日下午1:56:08
 */
public class Staffindo implements java.io.Serializable {

	// Fields

	private Integer siid;
	private Positioninfo positioninfo;
	private Departmentinfo departmentinfo;
	private Powerinfo powerinfo;
	private String siname;
	private String sisex;
	private String sipwd;
	private String siphone;
	private String siidCard;
	private String siaddress;
	@JSONField(serialize=false)
	private Set putinrecordinfos = new HashSet(0);
	@JSONField(serialize=false)
	private Set maintaininfos = new HashSet(0);
	@JSONField(serialize=false)
	private Set deliveryrecordinfos = new HashSet(0);
	@JSONField(serialize=false)
	private Set messagebyreplyinfos = new HashSet(0);

	// Constructors

	/** default constructor */
	public Staffindo() {
	}

	/** minimal constructor */
	public Staffindo(Positioninfo positioninfo, Departmentinfo departmentinfo,
			Powerinfo powerinfo, String siname, String sisex, String sipwd,
			String siphone, String siidCard, String siaddress) {
		this.positioninfo = positioninfo;
		this.departmentinfo = departmentinfo;
		this.powerinfo = powerinfo;
		this.siname = siname;
		this.sisex = sisex;
		this.sipwd = sipwd;
		this.siphone = siphone;
		this.siidCard = siidCard;
		this.siaddress = siaddress;
	}
	/**
	 * 用于修改员工的构造函数
	 * @param siid
	 * @param positioninfo
	 * @param departmentinfo
	 * @param powerinfo
	 * @param siname
	 * @param sisex
	 * @param sipwd
	 * @param siphone
	 * @param siidCard
	 * @param siaddress
	 */
	public Staffindo(Integer siid, Positioninfo positioninfo, Departmentinfo departmentinfo, Powerinfo powerinfo,
			String siname, String sisex, String sipwd, String siphone, String siidCard, String siaddress) {
		super();
		this.siid = siid;
		this.positioninfo = positioninfo;
		this.departmentinfo = departmentinfo;
		this.powerinfo = powerinfo;
		this.siname = siname;
		this.sisex = sisex;
		this.sipwd = sipwd;
		this.siphone = siphone;
		this.siidCard = siidCard;
		this.siaddress = siaddress;
	}

	/** full constructor */
	public Staffindo(Positioninfo positioninfo, Departmentinfo departmentinfo,
			Powerinfo powerinfo, String siname, String sisex, String sipwd,
			String siphone, String siidCard, String siaddress,
			Set putinrecordinfos, Set maintaininfos, Set deliveryrecordinfos,
			Set messagebyreplyinfos) {
		this.positioninfo = positioninfo;
		this.departmentinfo = departmentinfo;
		this.powerinfo = powerinfo;
		this.siname = siname;
		this.sisex = sisex;
		this.sipwd = sipwd;
		this.siphone = siphone;
		this.siidCard = siidCard;
		this.siaddress = siaddress;
		this.putinrecordinfos = putinrecordinfos;
		this.maintaininfos = maintaininfos;
		this.deliveryrecordinfos = deliveryrecordinfos;
		this.messagebyreplyinfos = messagebyreplyinfos;
	}

	// Property accessors

	public Integer getSiid() {
		return this.siid;
	}

	public void setSiid(Integer siid) {
		this.siid = siid;
	}

	public Positioninfo getPositioninfo() {
		return this.positioninfo;
	}

	public void setPositioninfo(Positioninfo positioninfo) {
		this.positioninfo = positioninfo;
	}

	public Departmentinfo getDepartmentinfo() {
		return this.departmentinfo;
	}

	public void setDepartmentinfo(Departmentinfo departmentinfo) {
		this.departmentinfo = departmentinfo;
	}

	public Powerinfo getPowerinfo() {
		return this.powerinfo;
	}

	public void setPowerinfo(Powerinfo powerinfo) {
		this.powerinfo = powerinfo;
	}

	public String getSiname() {
		return this.siname;
	}

	public void setSiname(String siname) {
		this.siname = siname;
	}

	public String getSisex() {
		return this.sisex;
	}

	public void setSisex(String sisex) {
		this.sisex = sisex;
	}

	public String getSipwd() {
		return this.sipwd;
	}

	public void setSipwd(String sipwd) {
		this.sipwd = sipwd;
	}

	public String getSiphone() {
		return this.siphone;
	}

	public void setSiphone(String siphone) {
		this.siphone = siphone;
	}

	public String getSiidCard() {
		return this.siidCard;
	}

	public void setSiidCard(String siidCard) {
		this.siidCard = siidCard;
	}

	public String getSiaddress() {
		return this.siaddress;
	}

	public void setSiaddress(String siaddress) {
		this.siaddress = siaddress;
	}

	public Set getPutinrecordinfos() {
		return this.putinrecordinfos;
	}

	public void setPutinrecordinfos(Set putinrecordinfos) {
		this.putinrecordinfos = putinrecordinfos;
	}

	public Set getMaintaininfos() {
		return this.maintaininfos;
	}

	public void setMaintaininfos(Set maintaininfos) {
		this.maintaininfos = maintaininfos;
	}

	public Set getDeliveryrecordinfos() {
		return this.deliveryrecordinfos;
	}

	public void setDeliveryrecordinfos(Set deliveryrecordinfos) {
		this.deliveryrecordinfos = deliveryrecordinfos;
	}

	public Set getMessagebyreplyinfos() {
		return this.messagebyreplyinfos;
	}

	public void setMessagebyreplyinfos(Set messagebyreplyinfos) {
		this.messagebyreplyinfos = messagebyreplyinfos;
	}

}